package com.vipboot.framework.core.autoconfig;

import com.vipboot.framework.core.autoconfig.properties.ProjectProperties;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@Slf4j
@AutoConfiguration
@EnableAspectJAutoProxy
@EnableAsync(proxyTargetClass = true)
@EnableConfigurationProperties(ProjectProperties.class)
public class ApplicationAutoConfig {
    @PostConstruct
    public void postConstruct() {
        log.info("初始化 ApplicationAutoConfig");
    }

}
